package com.appcan.sync.common;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.http.HttpServletRequest;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class MerpServerStartupProcess implements ServletContextListener {
	
	private static final Log log = LogFactory.getLog(MerpServerStartupProcess.class);

	public void contextInitialized(ServletContextEvent evnt) {
		try {
			SchedulerMaintainer.startScheduler();
		} catch (Exception e) {
			log.error( e.toString());
		}

	}

	public void contextDestroyed(ServletContextEvent evnt) {

	}

	public static void start(HttpServletRequest rq) {

	}

}
